package edu.wtbu.cs.androiddemo.activity.list;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import edu.wtbu.cs.androiddemo.R;

public class MyViewHolder extends RecyclerView.ViewHolder {

    ImageView image;
    TextView titleView;
    public MyViewHolder(@NonNull View itemView) {
        super(itemView);
        image = itemView.findViewById(R.id.image);
        titleView = itemView.findViewById(R.id.tv_title);
    }
}
